home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-10-13 | 2.0 KB | 52 lines | [TEXT/GEOL] |
- Item 0825615 13-Oct-89 10:07
-
- From: AU0008 Kopfwerk EDV SW Entwicklung
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: Multi_TEViews
-
- Hi MacAppers,
-
- has somebody a solution to have multiple TTEViews in one window?
-
- I need them to let my application write bills. A bill should consists of a text
- (TTEView), closely followed by a list (TGridView) and again a text (TTEView).
- All of them has variable length because it depends on the actual data. Printing
- of these bills should not be a great problem, all I have to do is put them into
- one superView and calculate the positions of every view before printing. But
- the real problem is to have multiple TEViews in one window on the screen, so
- the user can specify the fixed text at the beginning and at the end of the
- bill.
-
- I see 3 steps of difficulties:
-
- Step 1) multiple TScrollers, each with one TTEView in it. This is not the most
- elegant user interface, but it would help. You will see TScrollers of static
- size with a TEView of dynamic size in it.
-
- Step 2) multiple TTEViews in only a single TScroller. This should work like
- multiple paragraphs in a word processor. Here the location of a single TEView
- depends on the vertical size of the TEViews above it. So every keystroke could
- change the location of the TEViews below the current one.
-
- Step 3) not only TTEViews in one TScroller but also TPictures, TGridViews, and
- so on.
-
- Step 4) same as step 3 with creating and deleting of all the views inside the
- TScroller at runtime (I know, this sounds like wishes for Xmas).
-
- I thought step one is easy, but it isn“t. It is not possible to select another
- TEView than the first selected TEView at the time the window opens. As you can
- see I am also happy if step 1 is solved.
-
- Please let me hear if you have any solutions,
- Thank you in advance,
-
- Tommi GESSL,
- KOPFWERK SW. Dev.
-
- PS: It would be great if the cookbook has a lesson about printing of headers
- and footers with TEViews.
-
-